package sjtu.ist.warehouse4ws.service;

import java.util.List;

import sjtu.ist.warehouse4ws.model.ShiroUser;

public interface ShiroUserService {

	ShiroUser findUser(String username);
	ShiroUser getUser(long userId);
	void saveShiroUser(ShiroUser user);
	void updateShiroUser(ShiroUser user);
	List<ShiroUser> getUserList(Integer companyId,String role);
	void delete(Integer id);
	 List<ShiroUser> findCompanyUser(int companyId);
}
